<route lang="json5" type="page">
{
  style: {
    navigationBarTitleText: '网页',
  },
}
</route>

<template>
    <web-view :src="url"></web-view>
</template>
<script lang="ts" setup>
const url = ref("");

onLoad((options) => {
    if (options.url) url.value = options.url;
})
</script>